Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass locale to NCP team 👾 #2374

Merged
merged 5 commits into from
Jun 14, 2024
Merged

Pass locale to NCP team 👾 #2374

merged 5 commits into from
Jun 14, 2024

Conversation

spencersablan
Copy link
Contributor

Description

  • 🗺️ Added locale in the API call to NCP - You'll see locale.x=${locale} as a query parameter when making the API call to NCP to get the hosted buttons details.

Why are we making these changes? Include references to any related Jira tasks or GitHub Issues

JIRA: DTPPCPSDK-2192

Reproduction Steps (if applicable)

Screenshots (if applicable)

Dependent Changes (if applicable)

  • ⚠️ We need the NCP team to change their URL validation to allow for query params before we can deploy this! Otherwise, there will be a CORS error.

Groups who should review (if applicable)

❤️ Thank you!

@spencersablan spencersablan requested a review from a team as a code owner April 16, 2024 00:07
@spencersablan spencersablan marked this pull request as draft April 16, 2024 00:08
Copy link
Member

@jshawl jshawl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Added one comment about fixing the CI failure 🚀

src/hosted-buttons/utils.js Show resolved Hide resolved
@spencersablan spencersablan changed the title Pass locale to NCP team 👾 DO NOT MERGE: Pass locale to NCP team 👾 Apr 25, 2024
@spencersablan spencersablan changed the title DO NOT MERGE: Pass locale to NCP team 👾 Pass locale to NCP team 👾 Jun 13, 2024
@spencersablan spencersablan marked this pull request as ready for review June 13, 2024 18:41
@spencersablan spencersablan merged commit 0aab954 into main Jun 14, 2024
3 checks passed
@spencersablan spencersablan deleted the feature/ncps-locale branch June 14, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants